package com.ygl.mapper;

import com.ygl.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserDao {

    public Integer create(User user);

    public int delete(Map<String, Object> paramMap);

    public int update(Map<String, Object> paramMap);

    public User login(Map<String, Object> paramMap);

    public List<User> query(Map<String, Object> paramMap);

    public User detail(Map<String, Object> paramMap);

    public int count(Map<String, Object> paramMap);
}
